#include <iostream>
using namespace std;

class Building;

class goodGay {
public:
	goodGay();
	void visit();
private:
	Building* building;
};

class Building {
	friend class goodGay;
public:
	Building();
	string m_sittingRoom;
private:
	string m_bedRoom;
};

Building::Building() {
	this->m_sittingRoom = "sittingRoom";
	this->m_bedRoom = "bedRoom";
}

goodGay::goodGay() {
	building = new Building;
}

void goodGay::visit() {
	cout << "Reading:" << building->m_sittingRoom << endl;
	cout << "Reading:" << building->m_bedRoom << endl;
}

void test01() {
	goodGay gg;
	gg.visit();
}

int main() {
	test01();
	system("pause");
	return 0;
}